//
//  MediaInfoController.h
//  MediaInfoGUI
//
//  Created by Olivier Larivain on 2/6/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DetailLevel.h"

@class DocumentInfo;
@class MediaInfoModel;
@class MediaInfoList;

@interface MediaInfoController : NSObject 
{
  MediaInfoList *mediaInfoList;
  NSMutableDictionary *stringAttributes;

  IBOutlet MediaInfoModel *model;
}

- (void) load:(NSString *) filenames detailLevel:(DetailLevel) detailLevel keepPrevious:(BOOL) keepPrevious;
- (void) loadDocuments:(NSArray *) filenames detailLevel:(DetailLevel) detailLevel;
- (void) loadDocument:(NSString *) filename detailLevel:(DetailLevel) detailLevel keepPrevious:(BOOL) keepPrevious;
- (void) refreshDocument:(DocumentInfo *) documentInfo detailLevel:(DetailLevel) detailLevel;
- (void) refreshAllDocuments:(DetailLevel) detailLevel;
@end